package com.esd.device.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.esd.device.entity.Line;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LineMapper extends BaseMapper<Line> {
    List<Line> selectAllHasDevice();

    int setViewOn(@Param("lineId") Long lineId, @Param("value") String value);
}
